// Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
// For license information, please see license.txt

frappe.ui.form.on("Daily Work Summary Group", {
	refresh: function (frm) {
		if (!frm.is_new()) {
			frm.add_custom_button(__("Daily Work Summary"), function () {
				frappe.set_route("List", "Daily Work Summary");
			});
		}
	},
});
